#coding:utf-8
data = open("sanwen.txt","r")
line = ""
tag = True
num = len(data.read())  #读取了一次 文件指针在最后了
data.seek(0)  #所以要把文件指针还原
for i in range(0,num):
    print(data.readline(10))

